package com.woniu.order.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author yellowDocter
 * @since 2022-08-09
 */
@TableName("t_goods")
@ApiModel(value = "TGoods对象", description = "")
public class TGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("货物表id")
    @TableId(value = "goods_id", type = IdType.AUTO)
    private Integer goodsId;

    @ApiModelProperty("order表的id")
    private Integer orderId;

    @ApiModelProperty("货物名称")
    private String goodsName;

    @ApiModelProperty("数量")
    private Integer number;

    @ApiModelProperty("单件重量")
    private Integer weight;

    @ApiModelProperty("总重量")
    private Integer totalWeight;

    @ApiModelProperty("长度")
    private Integer goodsLong;

    @ApiModelProperty("宽")
    private Integer goodsWide;

    @ApiModelProperty("高")
    private Integer goodsHight;

    @ApiModelProperty("体积")
    private Integer bulk;

    @ApiModelProperty("总体积")
    private Integer totalBulk;

    @ApiModelProperty("包装类型")
    private String boxType;

    @ApiModelProperty("运输类型 通过运输表调用")
    private String tranType;

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }
    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }
    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }
    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }
    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }
    public Integer getTotalWeight() {
        return totalWeight;
    }

    public void setTotalWeight(Integer totalWeight) {
        this.totalWeight = totalWeight;
    }
    public Integer getGoodsLong() {
        return goodsLong;
    }

    public void setGoodsLong(Integer goodsLong) {
        this.goodsLong = goodsLong;
    }
    public Integer getGoodsWide() {
        return goodsWide;
    }

    public void setGoodsWide(Integer goodsWide) {
        this.goodsWide = goodsWide;
    }
    public Integer getGoodsHight() {
        return goodsHight;
    }

    public void setGoodsHight(Integer goodsHight) {
        this.goodsHight = goodsHight;
    }
    public Integer getBulk() {
        return bulk;
    }

    public void setBulk(Integer bulk) {
        this.bulk = bulk;
    }
    public Integer getTotalBulk() {
        return totalBulk;
    }

    public void setTotalBulk(Integer totalBulk) {
        this.totalBulk = totalBulk;
    }

    public String getBoxType() {
        return boxType;
    }

    public void setBoxType(String boxType) {
        this.boxType = boxType;
    }

    public String getTranType() {
        return tranType;
    }

    public void setTranType(String tranType) {
        this.tranType = tranType;
    }

    @Override
    public String toString() {
        return "TGoods{" +
                "goodsId=" + goodsId +
                ", orderId=" + orderId +
                ", goodsName='" + goodsName + '\'' +
                ", number=" + number +
                ", weight=" + weight +
                ", totalWeight=" + totalWeight +
                ", goodsLong=" + goodsLong +
                ", goodsWide=" + goodsWide +
                ", goodsHight=" + goodsHight +
                ", bulk=" + bulk +
                ", totalBulk=" + totalBulk +
                ", boxType='" + boxType + '\'' +
                ", tranType='" + tranType + '\'' +
                '}';
    }
}
